package pjwstk.jps.ast.terminal;

import pjwstk.jps.ast.Expression;
import pjwstk.jps.visitor.ASTVisitor;

/**
 * @author s9111_s10304
 *
 */
public class StringTerminal extends Expression implements IStringTerminal
{
	private String value;
	
	public StringTerminal(String aValue) {
		value = aValue;
	}
	
	@Override
	public void accept(ASTVisitor visitor) {
		visitor.visitStringTerminal(this);
	}

	@Override
	public String getValue() {
		return value;
	}
}